package com.netcombine.freewill.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.netcombine.freewill.mapper.NoticeMapper;
import com.netcombine.freewill.vo.FreewillVo;

@Service
public class NoticeService{
	
	@Autowired
	private NoticeMapper noticeMapper;
	
	public FreewillVo selectNoticeInfo(FreewillVo vo){
		
		return noticeMapper.selectNoticeInfo(vo);
	}	
	
	public List<FreewillVo> selectNoticeList(FreewillVo vo){
		
		return noticeMapper.selectNoticeList(vo);
	}

	public int selectNoticeCount(FreewillVo vo) {
		
		return noticeMapper.selectNoticeCount(vo);
	}
	
}